package cn.tedu.basic;

//测试  反射
public class Test8 {
    public static void main(String[] args) throws Exception {
        Method();
    }
    public static void Method() throws Exception {
        Class<Girl> c = Girl.class;
        Class<?> c1  = Class.forName("cn.tedu.basic.Girl");
        Class<? extends Girl> c2 = new Girl().getClass();

    }
}
class Girl{
    public Girl(){}
    public Girl(int a){}
    private String name;
    public static void make(String b){
        System.out.println("love"+ b);
    }
    private static void get(int age){
        System.out.println(19);
    }
}